package com.kingyun.gpsinspection.purificationservice.facade.service.jsm;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.IntDataSrcItemValue;

import java.util.List;

/**
 * Created by huangxueqian on 2017/4/6/006.
 * 查看设备运行数据接口
 */
public interface OutIntDataSrcItemValueService {
    /**
     * 查询最近一次的数据值
     */
    public IntDataSrcItemValue getLastIntDataSrcItemValue(IntDataSrcItemValue intDataSrcItemValue) throws Exception ;

    /**
     * 查询最近的一天的数据值
     */
    public List<IntDataSrcItemValue> getInDataSrcItemValue(IntDataSrcItemValue intDataSrcItemValue)
            throws Exception;

    /**
     * @param propertyId
     * 加载出运行数据特性值
     */
    public JSONObject getInDataSrcItemValueJson(String propertyId) throws Exception  ;

}
